<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich">
	<body>
		<ui:component id="editWorkAtClient">
			<h:panelGrid columns="2">
				<rich:column colspan="1">
					<h:outputLabel for="tfClientName" value="Nome" />
					<br />
					<h:selectOneMenu value="#{work.role}">
						<f:selectItems value="#{roles}" />
					</h:selectOneMenu>
				</rich:column>
				<rich:spacer height="1" width="1" />
				<rich:column colspan="2">
					<h:outputLabel for="tfClientName" value="Nome" />
					<br />
					<h:inputText id="tfclientName" value="#{work.clientName}" size="60" />
				</rich:column>
				<rich:spacer height="1" width="1" />
				<rich:column id="aka">
					<h:outputLabel for="tfclientAka" value="Apelido/Nome Fantasia" />
					<br />
					<h:inputText id="tfClientAka" value="#{work.clientAka}" size="60" />
				</rich:column>
				<rich:spacer height="1" width="1" />
				<rich:column id="email">
					<h:outputLabel for="tfclientEmail" value="E-Mail" />
					<br />
					<h:inputText id="tfClientEmail" value="#{work.clientEmail}" size="30" />
				</rich:column>
				<rich:column id="federalId">
					<h:outputLabel for="tfClientFederalId" value="CNPJ/CPF" />
					<br />
					<h:inputText id="tfClientFederalId" value="#{work.clientFederalId}" size="20" />
				</rich:column>
			</h:panelGrid>
		</ui:component>
	</body>
</html>